@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="teacherInfoForm">
            <input type="hidden" id="orgId" value='${org.id}'>
            <input type="hidden" id="uploadUrl" value="${uploadUrl}">
            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="orgName" name="所属学校" value="${org.name}" underline="true" disabled="disabled"/>
                    <#input id="name" name="姓名" underline="true" span="true"/>
                    <#select id="sex" name="性别" underline="true">
                    @for(sex in GBSex){
                    <option value="${sex.code}">${sex.cname}</option>
                    @}
                </#select>
                <#select id="papersType" name="证件类型" underline="true">
                @for(papersType in GBPapersType){
                <option value="${papersType.code}">${papersType.cname}</option>
                @}
            </#select>
            <#input id="nativePlace" name="籍贯" underline="true" />
            <#select id="politicalStatus" name="政治面貌" underline="true">
            <option value="">请选择</option>
            @for(political in GBPolitical){
            <option value="${political.code}">${political.cname}</option>
            @}
        </#select>
        <#input id="familyAddress" name="家庭地址" underline="true"/>
        <#input id="email" name="电子邮箱" underline="true"/>
        <#avatar  id="avatar" name="上传头像"/>
                </div>

                <div class="col-sm-6">
                    <#select id="userType" name="角色类型" underline="true">
                    @for(sysRole in sysRoles){
                    <option value="${sysRole.id}">${sysRole.cname}</option>
                    @}
                </#select>
                <#input id="cellphone" name="登录手机" underline="true" />
                <#input id="schoolCard" name="校卡号" underline="true" />
                <#input id="papersNumber" name="证件号码" underline="true" />
                <#select id="nationCode" name="民族" underline="true">
                <option value="">请选择</option>
                 @for(nation in GBNation){
                 <option value="${nation.code}">${nation.cname}</option>
                  @}
                 </#select>
                <#input id="birthday" name="出生日期" underline="true"/>
                <#input id="telephone" name="联系电话" underline="true"/>
                <#input id="postCode" name="邮编" underline="true"/>
                </div>
            </div>
<div class="progress progress-striped" id="progressTipArea" style="margin-top: 1px;">
    <div id="progressBar" style="width: 0%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="0" role="progressbar"
         class="progress-bar progress-bar-info">
    </div>
</div>
            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="PtTeacherInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="PtTeacherInfoDlg.close()"/>
                </div>
            </div>
        </div>

</div>
<script src="${ctxPath}/static/modular/system/ptTeacher/ptTeacher_info.js"></script>
<script>
    laydate.render({
        elem: '#birthday',
        trigger: 'click'

    });
</script>
@}
